/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/08/19
*/
#ifndef __EDUI_VERTICALLAYOUT_H__
#define __EDUI_VERTICALLAYOUT_H__

#include "Container.h"

EDUI_NAMESPACE_BEGIN

class EDUI_API VerticalLayout : public Container
{
protected:
    VerticalLayout();
    virtual ~VerticalLayout();
public:
	static VerticalLayout* GetInterface();
	virtual void Release();
    static VerticalLayout* ToVerticalLayout(Control* ctrl);
public:
    virtual void AutoLayout();
    virtual void SetAttribute(const char* name, const char* value);
public:
    bool IsCenter() const;
    void SetCenter(bool bCenter);
protected:
    bool m_bCenter;
};

EDUI_NAMESPACE_END

#endif
